package org.blueoxygen.kukuruyuk.actions.supplier;
import org.blueoxygen.kukuruyuk.entity.Supplier;
public class DeleteSupplier extends SupplierForm {
public String execute(){
	if(getSupplier().getId() != null &&
			!"".equalsIgnoreCase(getSupplier().getId())){
		setSupplier((Supplier) manager.getById(Supplier.class, getSupplier().getId()));
		manager.remove(getSupplier());
	}
	return SUCCESS;
  }
}